local qingguo = fk.CreateSkill{
  name = "mod__qingguo",
}
local qingguo_ = {
  anim_type = "defensive",
  pattern = "jink",
  card_filter = function(self, to_select, selected)
    return #selected == 0 and Fk:getCardById(to_select).color == Card.Black
  end,
  view_as = function(self, cards)
    if #cards ~= 1 then return end
    local card = Fk:cloneCard("jink")
    card.skillName = self.name
    card:addSubcard(cards[1])
    return card
  end,
}
qingguo:addEffect("viewas", qingguo_)
return qingguo